﻿using SqlSugar;

namespace Shop.Model.Entity.System;

/// <summary>
/// 地址库
/// </summary>
[SugarTable("sys_area")]
public class SysArea: BaseEntity
{
    /// <summary>
    /// 编码
    /// </summary>
    public string Code { get; set; }
    
    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; }
    
    /// <summary>
    /// 上级编码
    /// </summary>
    public string Parent_Code { get; set; }
    
    /// <summary>
    /// 层级
    /// </summary>
    public int Level { get; set; }
}